<?php
namespace Menory\SMS;

use Menory\Standard\Error;

class SMSError extends Error {

    const CODE_TPL_NOT_FOUND = 20000; // 短信模板不存在
    const API_FAIL           = 20001; // 接口调用失败

    /**
     * SMSError constructor.
     * @param string $message
     * @param int $code
     */
    public function __construct($message, $code = self::CODE_TPL_NOT_FOUND) {

        parent::__construct($message, $code);

    }

}